<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>菜单管理</title>
    <link type="text/css" rel="stylesheet" href="<%=basePath %>statics/css/common/common-1.0.css">
    <link type="text/css" rel="stylesheet" href="<%=basePath %>statics/js/plug/jqueryUI/jquery-ui.css">
    <link type="text/css" rel="stylesheet" href="<%=basePath %>statics/css/base/basemenu/base_menu.css">
    <link rel="stylesheet" type="text/css" href="<%=basePath%>statics/js/plug/ztree/css/zTreeStyle/zTreeStyle.css">
    <script type="text/javascript" src="<%=basePath %>statics/js/plug/jquery-1.12.0.min.js"></script>
    <%--
    <script type="text/javascript" src="<%=basePath %>statics/js/common/common.js"></script>
    --%>
    <script type="text/javascript" src="<%=basePath%>statics/js/common/common-1.0.js"></script>
    <script type="text/javascript" src="<%=basePath %>statics/js/common/loading.js"></script>
    <script type="text/javascript" src="<%=basePath %>statics/js/plug/jqueryUI/jquery-ui.js"></script>
    <script type="text/javascript" src="<%=basePath%>statics/js/plug/ztree/js/jquery.ztree.all-3.5.min.js"></script>
    <script type="text/javascript" src="<%=basePath %>statics/js/base/basemenu/base_menu_list.js"></script>
</head>
<body>

<div class="window-title-bar">
    <h5 class="title">菜单管理</h5>

    <div class="nav">
        <span class="prev-nav">系统管理</span>
        <span class="space">/</span>
        <span class="cur-nav">菜单管理</span>
    </div>
</div>

<shiro:hasPermission name="BaseMenu:view">
    <div class="main-content">
        <div class="main-left">
            <div class="grid-toolbar" style="margin: 0px">
                <input id="searchName" type="text" class="input-search" placeholder="关键字">
                <button type="button" class="btn-icon btn-search"
                        onclick="search_ztree('menuTree','searchName')"></button>
            </div>
            <div id="treeDiv" class="tree-list">
                <ul id="menuTree" class="ztree"></ul>
            </div>
        </div>
        <div class="main-right">
            <shiro:hasPermission name="BaseMenu:create">
            <div id="grid-list" class="grid-list" style="margin:15px">

            </div>
            </shiro:hasPermission>
        </div>
    </div>
</shiro:hasPermission>

<div id="parentMenu" class="menuContent">
    <ul id="parentMenuTree" class="ztree"></ul>
</div>
<div id="lookAuthorityMenu" class="menuContent">
    <input id="lamtSearchName" style="margin-left:9px;width:150px" type="text"/>&nbsp;
    <button type="button" onclick="search_ztree('lookAuthorityMenuTree','lamtSearchName')">查询</button>
    <ul id="lookAuthorityMenuTree" class="ztree"></ul>
</div>
<div id="operateAuthorityMenu" class="menuContent" style="width: 290px; overflow-y: auto;">
    <ul id="operateAuthorityMenuTree" class="ztree"></ul>
</div>
<div id="loadDiv"></div>
</body>

</html>



